Skip to content

Switch to PowerShell Gallery mirror #5150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025
Merged

Switch to PowerShell Gallery mirror #5150

merged 1 commit into from
Mar 3, 2025

Conversation

andyleejordan
Copy link
Member

Also remove one more missed piece of now-redundant code.

@Copilot Copilot AI review requested due to automatic review settings February 26, 2025 22:32
@andyleejordan andyleejordan requested a review from a team as a code owner February 26, 2025 22:32
@andyleejordan andyleejordan enabled auto-merge (squash) February 26, 2025 22:32
@andyleejordan andyleejordan added the Ignore Exclude from the changelog. label Feb 26, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR aims to switch to using the PowerShell Gallery mirror and remove now-redundant commands that registered and installed the PSResource modules.

  • Removed explicit repository registration and module installation commands
  • Replaced multiple inline commands with a single invocation of the installPSResources.ps1 script

Reviewed Changes

File Description
.pipelines/vscode-powershell-Official.yml Removed redundant code and streamlined mirror usage

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

.pipelines/vscode-powershell-Official.yml:175

  • The removal of the explicit repository registration commands assumes that the installPSResources.ps1 script now handles the PSRepository configuration internally. Please verify that this script properly sets up the PowerShell Gallery mirror to ensure module installations work as expected.
- pwsh: ./tools/installPSResources.ps1 -PSRepository CFS

@andyleejordan andyleejordan disabled auto-merge March 3, 2025 23:45
@andyleejordan andyleejordan merged commit 43c8bff into main Mar 3, 2025
7 checks passed
@andyleejordan andyleejordan deleted the mirror branch March 3, 2025 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ignore Exclude from the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant